package com.excesys.exsecs.scada.mapper;

import com.excesys.exsecs.common.data.datascope.ExsecsBaseMapper;
import com.excesys.exsecs.scada.entity.ScadaFolder;
import com.excesys.exsecs.scada.entity.ScadaFolderAndLinked;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScadaFolderAndLinkedMapper extends ExsecsBaseMapper<ScadaFolderAndLinked> {
	void deleteFromParentId(Long parentId);
	void updateById(@Param("linkedId") String linkedId,@Param("id") Integer id);

	 List<ScadaFolderAndLinked>  queryById( String linkedId);

}